
<script src="<?php echo base_url() ?>ckeditor/ckeditor.js"></script>
<script src="<?php echo base_url() ?>ckeditor/adapters/jquery.js"></script>
<style>

#editable
{
	padding: 10px;
	float: left;
}
</style>


<?php $attributs = 'class="mws-form"'?>
<?php echo form_open_multipart('admin/wisatas/update', $attributs) ?>

<div class="mws-panel grid_8">
	<div class="mws-panel-body no-padding">
		<div class="mws-panel-header">
			<span>Show wisata</span>
		</div>
		<?php foreach($wisata as $p): ?>
		<div class="mws-form-row">
			<label class="mws-form-label">Kategori</label>
			<div class="mws-form-item">
				<?php $kategories = $this->bara_lib->kategori_wisatas(); ?>
				<?php echo $kategories[$p->id_kategori_sub] ?><br />
			</div>
		</div>

		<div class="mws-form-row">
			<label class="mws-form-label">Image</label>
			<div class="mws-form-item">
				<img src="<?php echo base_url().$p->url_gambar_wisata?>">
			</div>
		</div>
	<!--	<div class="mws-form-row">
			<label class="mws-form-label">Project Date</label>
			<div class="mws-form-item">
				<?php echo $p->date_project; ?><br />
			</div>
		</div> -->
	<?php endforeach ?>
</div>
</div>

<div class="mws-panel grid_8">
	<div class="mws-panel-body no-padding">
		<div class="mws-panel-header">
			<span>Indonesia</span>
		</div>
		<div class="mws-form-row">
			<label class="mws-form-label">Judul</label>
			<div class="mws-form-item">
				<?php echo $wisata_language[0]->judul_wisata ?><br />
			</div>
		</div>
		<div class="mws-form-row">
			<label class="mws-form-label">Content</label>
			<div class="mws-form-item">
				<?php echo $wisata_language[0]->content_wisata ?><br />
			</div>
		</div>
	</div>
</div>


<!-- <div class="mws-panel grid_8">
	<div class="mws-panel-body no-padding">
		<div class="mws-panel-header">
			<span>English</span>
		</div>
		<div class="mws-form-row">
			<label class="mws-form-label">Judul</label>
			<div class="mws-form-item">
				<?php echo $news_language[1]->id_news_language ?>
				<?php echo $news_language[1]->judul_news ?><br />
			</div>
		</div>
		<div class="mws-form-row">
			<label class="mws-form-label">Content</label>
			<div class="mws-form-item">
				<?php echo $news_language[1]->content_news ?><br />
			</div>
		</div>
	</div>
</div> -->
<div class="mws-panel grid_8">
	<div class="mws-button-row">
		<?php echo anchor('admin/wisatas/index', 'Back', 'class="btn"'); ?>
	</div>
</div>

<?php echo form_close()?>
